const mongoose = require('mongoose')

const Schema = mongoose.Schema

mongoose.connect("mongodb://localhost/shopUser", { useNewUrlParser: true })

const jdSchema = new Schema({
   sname: String,
   shopPhone: String,
   shopAddress: String,
   statusName: String,
   goodMenu: Array,
   shopBgc: '',
   shopId: String
})

module.exports = mongoose.model('shopInfo', jdSchema)